Objects Reference

mesh::draw_cartoon

Prototype

virtual void draw_cartoon(vector& campos,vector& light,light_vertex& lights,float edgewidth)

Parameters

Parameter Type Description
campos vector& the camera position relative to the mesh
light vector& the ambient light
lights light_vertex& the dynamic lights to illuminate the cartoon
edgewidth float the cartoon edge (outline) width

Return Value

None

Remarks

This function draws the mesh as a cartoon.